NDepend.API Documentation
ToMoney(Nullable<TimeSpan>) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToMoney Method : ToMoney(Nullable<TimeSpan>) Method
The nullable estimated duration to fix one or several issues
Estimate an amount of money from a duration.
Syntax

Parameters

duration
The nullable estimated duration to fix one or several issues
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.TechnicalDebt.IDebtFormatter.NDepend.TechnicalDebt.IDebtFormatter.ToMoney must be called instead.
Remarks
The amount of money is expressed in the project's NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.Currency and is computed from the project's NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.MoneyPerManHour.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqDebtFormatter Class
ExtensionMethodsCQLinqDebtFormatter Members
Overload List